package com.sharding.transaction.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sharding.transaction.demo.entity.User;
import org.apache.ibatis.annotations.Param;

/**
 * user dao层
 * @author lihaodong
 */
public interface UserMapper extends BaseMapper<User> {

    int deductionAccount(@Param("userId") Long userId,@Param("price") Double price);
}